<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>邀请商家入驻</title>
		<script src="__PUBLIC__/static/js/mui.min.js"></script>
		<link href="__INDEX__/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
		<link rel="stylesheet" href="__INDEX__/css/style.css" />
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/mall.css" />
	</head>
<style>
.close {
    width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 15px;
    right: 15px;
}
</style>
	<body>
		<div class="mui-content yqrz_content">
			<div><img src="__INDEX__/images/bac_yqrz.jpg"></div>
			<div><img src="__INDEX__/images/bac_yqrz2.jpg"></div>
			<div class="yqrz_btnbox">
				<div class="yqrz_btnb"><a href="javascript:;" class="yqrz_btn" id='present'>面对面分享</a></div>
				<!--<div class="yqrz_btnb"><a href="#" class="yqrz_btn">分享到朋友圈</a></div>-->
			</div>
		</div>
		 <!--二维码关注弹出框-->
	    <div class="mask gzgzh_mask">
	    	<div class="tgerweim" style="width: 200px; height: 200px; border: unset">
					<div id="qrcode" style="margin-top: 70%;"></div>
			</div>
			<div class="close"><img src="__INDEX__/images/close2.png" onclick="javascript:$('.mask').hide()"></div>
		</div>
	</body>
</html>
{include file="public/footer" /}
<script src="__PUBLIC__/static/js/jquery.form.js"></script>
<script src="__PUBLIC__/static/js/jquery.qrcode.js"></script>
<script src="__PUBLIC__/static/js/utf.js"></script>
<script>
	$('#present').click(function(){
		$('.gzgzh_mask').show();
	});
	
	$("#qrcode").qrcode({
		render: "canvas", //设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
		text: "{$union_agent['redirect_url']}",
		width: "200", //二维码的宽度
		height: "200", //二维码的高度
		background: "#ffffff", //二维码的后景色
		foreground: "#000000", //二维码的前景色
		src: "{$union_agent['thumb']}" //二维码中间的图片
	});
	
</script>